﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.IO;

namespace HGLLCP
{
    public class JsonReader
    {
        /// <获取Json内容>
        /// 获取Json内容
        /// </获取Json内容>
        /// <param name="jsonstream">Json流</param>
        /// <returns>返回string 类型Json内容</returns>
        public static string ReturnJsonContent(Stream jsonstream)
        {
            StreamReader sr = new StreamReader(jsonstream);
            return sr.ReadToEnd();
        }
    }
}
